package com.study.androidsystem

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.study.androidsystem.vibration.VibrationActivity
import kotlinx.android.synthetic.main.activity_system.*
import org.jetbrains.anko.sdk27.coroutines.onClick
import org.jetbrains.anko.startActivity

class AndroidSystemActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_system)
        toVibrationBtn.onClick {
            startActivity<VibrationActivity>()
        }
    }
}
